package cn.edu.ren.mapper;

import cn.edu.ren.pojo.User;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

/**
 * @PackageName: cn.edu.ren.mapper
 * @ClassName: IUserMapper
 * @Description:
 * @author: RZS
 * @date: 2021/5/20  16:56
 */
public interface IUserMapper extends Mapper<User> {

    @Select("select * from user where username = #{name}")
    User selectByName(String name);
}
